
# nohup python -u infer-web.py > webui.log 2>&1 &
# nohup python -u tools/uvr5/webui.py  "cuda" True 9873 False > uvr5.log 2>&1 &
PID=$(ps -ef|grep rvc_train_test_api |grep -v grep |awk '{print $2}')

if [ $PID -ge  0 ]; then
    kill -9 $PID
fi

current_date=$(date +"%Y-%m-%d %T")
nohup python -u rvc_train_test_api.py > test_${current_date}.log 2>&1 &

echo '部署成功'

exit 0

